//
//  Activity.h
//  奇阅
//
//  Created by 奇阅科技 on 14-10-28.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Activity : NSObject
///活动的ID
@property (nonatomic, strong) NSString *activityid;
///活动标题
@property (nonatomic, strong) NSString *title;
///活动内容
@property (nonatomic, strong) NSString *contents;
///活动图标
@property (nonatomic, strong) NSString *ico;
///活动URL
@property (nonatomic, strong) NSString *url;
///活动发布时间
@property (nonatomic, strong) NSString *time;
///活动是否置顶
@property (nonatomic, assign) NSInteger is_sticky;
///显示位置1 = ‘抽屉公告’；2 = ‘书架公告’；3 = ‘书架侧边栏’；
@property (nonatomic, strong) NSString *position;
+(Activity *)getFromDict:(NSDictionary *)dict;
///更新 数据
-(void)upDateNew:(Activity *)newActivity;
@end
